package com.vhall.component.entity.interactive.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
public class DealAnswerReqVo implements Serializable {
    private static final long serialVersionUID = -2358030575689396586L;

    @NotBlank(message = "room_id不能为空")
    @ParamName("room_id")
    private String roomId;

    @NotNull(message = "id不能为空")
    private Long id;

    @ParamName("is_backout")
    @Range(max = 1, min = 0, message = "is_backout取值为0或1")
    private Integer isBackout;

    private Integer accountId;
}
